package com.loubobooo.personal.blog.common;

public class Const {

    public static final String CURRENT_USER = "currentUser";

    public static final String EMAIL = "email";
    public static final String USERNAME = "username";
    public static final String TOKEN_PREFIX = "token_";

    public interface REDIS_KEY {
        String ALL_ARTICLE = "ALL_ARTICLE"; // 缓存所有文章
        String ALL_ARTICLE_BY_PAGE = "ALL_ARTICLE_BY_PAGE"; // 缓存分页文章
        String DRAFT_ARTICLE_WITH_BACKEND = "DRAFT_ARTICLE_WITH_BACKEND"; //后台缓存草稿文章
        String ARTICLE_DETAIL_SHOW = "ARTICLE_DETAIL_SHOW";
    }

}

